package com.sx.art2.beans;

public class Order {
	
	private String orderId;
	private int auctionInfoId;
	private int userId;
	private int addressId;
	private String orderTime;
	private int orderState;// 1：未支付2：已支付,未发货3：已发货,未收货4：已收货，交易完成5：交易关闭
	private float orderPrice;
	private int orderSum;
	public int getOrderSum() {
		return orderSum;
	}

	public void setOrderSum(int orderSum) {
		this.orderSum = orderSum;
	}

	private String orderConfirmTime;
	private String remarks;
	private String paymentTime;
	private String fahuoTime;
	
	private AuctionInfo auctionInfo;
	public AuctionInfo getAuctionInfo() {
		return auctionInfo;
	}

	public void setAuctionInfo(AuctionInfo auctionInfo) {
		this.auctionInfo = auctionInfo;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Adress getAdress() {
		return adress;
	}

	public void setAdress(Adress adress) {
		this.adress = adress;
	}

	private User user;
	private Adress adress;
	
	
	
	public Order() {
		super();
		// TODO 自动生成的构造函数存根
	}
	
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public int getAddressId() {
		return addressId;
	}
	public void setAddressId(int addressId) {
		this.addressId = addressId;
	}
	public String getOrderTime() {
		return orderTime;
	}
	public void setOrderTime(String orderTime) {
		this.orderTime = orderTime;
	}
	public int getOrderState() {
		return orderState;
	}
	public void setOrderState(int orderState) {
		this.orderState = orderState;
	}
	public float getOrderPrice() {
		return orderPrice;
	}
	public void setOrderPrice(float orderPrice) {
		this.orderPrice = orderPrice;
	}
	public String getOrderConfirmTime() {
		return orderConfirmTime;
	}
	public void setOrderConfirmTime(String orderConfirmTime) {
		this.orderConfirmTime = orderConfirmTime;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public int getAuctionInfoId() {
		return auctionInfoId;
	}
	public void setAuctionInfoId(int auctionInfoId) {
		this.auctionInfoId = auctionInfoId;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getPaymentTime() {
		return paymentTime;
	}

	public void setPaymentTime(String paymentTime) {
		this.paymentTime = paymentTime;
	}

	public String getFahuoTime() {
		return fahuoTime;
	}

	public void setFahuoTime(String fahuoTime) {
		this.fahuoTime = fahuoTime;
	}

	public Order(String orderId, int auctionInfoId, int userId, int addressId, String orderTime, int orderState,
			float orderPrice, int orderSum, String orderConfirmTime, String remarks, String paymentTime,
			String fahuoTime, AuctionInfo auctionInfo, User user, Adress adress) {
		super();
		this.orderId = orderId;
		this.auctionInfoId = auctionInfoId;
		this.userId = userId;
		this.addressId = addressId;
		this.orderTime = orderTime;
		this.orderState = orderState;
		this.orderPrice = orderPrice;
		this.orderSum = orderSum;
		this.orderConfirmTime = orderConfirmTime;
		this.remarks = remarks;
		this.paymentTime = paymentTime;
		this.fahuoTime = fahuoTime;
		this.auctionInfo = auctionInfo;
		this.user = user;
		this.adress = adress;
	}

}
